home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-10-09 | 546 b | 27 lines | [TEXT/tefi] |
- /* @(#)execv.c 2.1 */
- /*
- * auxexecv(file, argv)
- *
- * where argv is a vector argv[0] ... argv[x], NULL
- * last vector element must be NULL
- * environment passed automatically
- */
- pascal long AUXDispatch(selector,p)
- short selector;
- char *p;
- extern 0xABf9;
-
- #define AUX_GET_ENVIRON 11 /* get pointer to environ */
-
- auxexecv(file, argv)
- char *file;
- char **argv;
- {
- char **auxenviron;
-
- /* copy the environment */
- AUXDispatch(AUX_GET_ENVIRON,(char *)&auxenviron);
-
- return(auxexecve(file, argv, auxenviron));
- }
-